package com.cci.kangdao.dao;


import com.cci.kangdao.dao.model.ApprovalGoingOutT;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;

import java.util.List;

@MapperScan
public interface ApprovalGoingOutTMapper {
    int deleteByPrimaryKey(Integer ID);

    int insert(ApprovalGoingOutT record);

    int insertSelective(ApprovalGoingOutT record);

    ApprovalGoingOutT selectByPrimaryKey(Integer ID);

    int updateByPrimaryKeySelective(ApprovalGoingOutT record);

    int updateByPrimaryKey(ApprovalGoingOutT record);

    List<ApprovalGoingOutT> getListByOrderId(@Param("orderId") Long orderId, @Param("type") Integer type);

    Integer getCountByOrderId(@Param("orderId") Long orderId, @Param("type") Integer type);
}